$(function(){
	var defaults = {
	        itembank_id:'',
	        questions: {

	        }
	    };
	function put(id, attributes) {
        var questions = store.get('questions') || {};
        questions[id] = .extend(true, defaults, attributes);
        store.set('questions', questions);
    }
	
	function get (id) {
        var questions = store.get('questions') || {};

        return questions[id] || {};
    },
    
    function update(id, attributes) {
        var questions = store.get('questions') || {};

        questions[id] = .extend(true, menus[id], attributes || {});

        store.set('questions', questions);
    }
    
    function all() {
        var questions = store.get('questions') || {};

        return questions;
    }
    
    function deleted(id) {
        var questions = store.get('questions') || {};

        delete questions[$id];

        store.set('questions', questions);
    }
    
    function clean() {
        store.set('questions', {});
    }
});